package bjtu.pinet.utils;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * author:chushuai
 * date:2021.2.13
 */
public class IdentifierMapUtils {
    private static String identifierType;
    private static int networkTypeId;
    public static String getIdentifierType(int networkTypeId) {
        if(networkTypeId==1){
            return "ipv4";
        }else if (networkTypeId==2){
            return "sinet";
        }else if(networkTypeId==3){
            return "geoip";
        }else if (networkTypeId==4){
            return "ndn";
        }else{
            return "unknown";
        }
    }
}
